﻿{% extends "gma/base.html" %}
{% load static %}

<!-- CONTENT
  =====================================================================-->

{% block content %}

<div class="page__hd">
    <h1 class="page__title"> <i class="fa fa-comment-alt my-page-title-icon"> </i> </h1>
    <p class="page__desc"> 快速回复管理 </p>
</div>

<div class="page__bd">
    <!-- 首页品类 -->
    <div class="weui-panel weui-panel_access">
        <div class="weui-panel__hd">首页快速回复显示</div>

        <div class="weui-panel__bd">
            <div class="weui-media-box weui-media-box_small-appmsg">
                <div class="weui-cells">
                    <a v-for="reply in replies" v-if="reply.enabled" class="weui-cell weui-cell_example">
                        <div class="weui-cell__bd weui-cell_primary">
                            <p>[[ reply.orderno ]]. [[ reply.message ]]</p>
                        </div>
                        <span class="weui-cell__ft"> </span>
                    </a>
                </div>
            </div>
        </div>

        <div class="weui-panel__ft">
            <a href="{% url 'gma:config_fast_reply_list' %}" class="weui-cell weui-cell_access weui-cell_link">
                <div class="weui-cell__bd"><i class="fa fa-ellipsis-h"></i> 查看更多 </div>
                <span class="weui-cell__ft"></span>
            </a>
        </div>
    </div>
</div>

<div class="page__ft">
    <a href="{% url 'gma:home' %}">
        <span class="bottom-logo"> HiBao </span>
    </a>
</div>

{% endblock content %}

<!-- SCRIPT
  =====================================================================-->

{% block extra_js %}
<script> {% include 'gma/config/reply/config_reply_home.vue' %} </script>
{% endblock extra_js %}